Solved: Target no device found & Can not connect to target...

您所在的位置:网站首页 stlink connection Solved: Target no device found & Can not connect to target...

Solved: Target no device found & Can not connect to target...

2024-07-11 23:54| 来源: 网络整理| 查看: 265

Hello ST Community,

I'm encountering difficulties while attempting to connect and debug my STM32 microcontroller, and I'm seeking guidance from the community. I have erased the full chip flash memory and uploaded my code but suddenly I start getting these error messages,

Error Messages:1. In ST-Link Utility:Can not connect to target!If you're trying to connect to an STM32W1xx device, please select Normal or HotPlug mode from Target->Settings menu.If you're trying to connect to a low-frequency application, please select a lower SWD Frequency mode from Target->Settings menu.

2. In Cube Programmer:UR connection mode is defined with the HWrst reset modeST-LINK SN : 003F00164741500420383733ST-LINK FW : V3J13M4Board : STM32H7B3I-DKVoltage : 3.28VError: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication.

 

3. In CubeIDE :

---------------------

Starting server with the following options:Persistent Mode : DisabledLogging Level : 1Listen Port Number : 61234Status Refresh Delay : 15sVerbose Mode : DisabledSWD Debug : EnabledInitWhile : Enabled

Target no device found

Error in initializing ST-LINK device.Reason: No device found on target.

----------------------

Steps Taken:- Verified physical connections.- Powered the microcontroller adequately.- Used ST-Link utility and CubeIDE for debugging.- Configured the software environment for SWD.

I've also tried initiating a hard reset by pulling the NRST pin low, but unfortunately, I'm still encountering the same error.

I'm reaching out to the community for insights into resolving the connectivity issue. If anyone has encountered similar problems or has expertise in debugging STM32 microcontrollers, your input would be highly appreciated, I am still a beginner in this field. - Debugger/Programmer: ST-LINK V3J13M4- Development Board: STM32H7B3I-DK

Solved! Go to Solution.



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3